package cn.hinglo.wx.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author hinglo
 * @date 2019/05/31
 * @description: 微信网页授权获取的用户信息
 */
@Data
@Accessors(chain = true)
public class WeixinUserInfo {
    /***
     * 用户的openId
     */
    private String openId;
    /***
     * 用户昵称
     */
    private String nickName;
    /***
     * 性别(1:男 0:女)
     */
    private String sex;
    private String province;
    private String city;
    private String country;
    private String headImgUrl;
    private List<String> privilege;
    private String unionId;
}
